home *** CD-ROM | disk | FTP | other *** search
/ Amiga Developer CD 2.1 / Amiga Developer CD v2.1.iso / Reference / DevCon / Washington_1988 / DevCon88.1 / Assembler / debug / ReadMe < prev    next >
Encoding:
Text File  |  1992-08-27  |  1.0 KB  |  29 lines

  1.  
  2.   Copyright (c) 1988 Commodore-Amiga, Inc.
  3.  
  4.   Executables based on this information may be used in software
  5.   for Commodore Amiga computers.  All other rights reserved.
  6.  
  7.   This information is provided "as is"; no warranties are made.
  8.   All use is at your own risk, and no liability or responsibility is assumed.
  9.  
  10.  
  11. The files in this directory are for use as simple debug routines within
  12. other assembler programs.  To use them, you should include printf.mac
  13. with your assembler module and link the resulting object modules with
  14. the library printf.lib.  To make printf.lib do the following:-
  15.  
  16.     assem printf.asm -o printf.lib -i :include
  17.  
  18.  
  19. To link your programs with this (we'll use test.o here) do the following:-
  20.  
  21.     blink test.o to test lib printf.lib+:include/amiga.lib
  22.  
  23.  
  24. If the printf macro has been used in any of the object modules you are
  25. linking then the linker will pull the printf code out of printf.lib and
  26. link it into the resulting program.  If no references have been made to
  27. printf, then no extra code will be linked with your program.
  28.  
  29.